home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
UTILFILE
/
UNPROT2.LZH
/
SK-NOFFD.FIX
< prev
next >
Wrap
Text File
|
1984-11-22
|
4KB
|
63 lines
The following procedure was used to fix my SIDEKICK version 1.11A SK.COM
(non-copyprotected version) file so that the silly thing wouldn't
issue a formfeed before every appointment day when printing it out:
==================================================================
When loaded with "DEBUG SK.COM", my version showed the following regs:
AX=0000 BX=0000 CX=8DDE DX=0000 SP=FFFE BP=0000 SI=0000 DI=0000
DS=28E9 ES=28E9 SS=28E9 CS=28E9 IP=0100 NV UP DI PL NZ NA PO NC
28E9:0100 E97E04 JMP 0581
Check to see if yours is the same. If not - or if the following addresses
don't match your version of SK.COM - then you'll have to find the culprit's
location within your own version of SIDEKICK via DEBUG's search command.
The culprit lives in the following code:
-u7a85 l40
28E9:7A85 E2F9 LOOP 7A80
28E9:7A87 E82000 CALL 7AAA
28E9:7A8A 8B4E02 MOV CX,[BP+02]
28E9:7A8D E2C7 LOOP 7A56
28E9:7A8F B00C MOV AL,0C <----- HERE IT IS!!!
28E9:7A91 E87300 CALL 7B07
28E9:7A94 C606A23A00 MOV BYTE PTR [3AA2],00
28E9:7A99 58 POP AX
28E9:7A9A 58 POP AX
28E9:7A9B 5A POP DX
28E9:7A9C 5E POP SI
28E9:7A9D 59 POP CX
28E9:7A9E 58 POP AX
28E9:7A9F C3 RET
28E9:7AA0 E81400 CALL 7AB7
28E9:7AA3 2020 AND [BX+SI],AH
28E9:7AA5 2020 AND [BX+SI],AH
28E9:7AA7 2000 AND [BX+SI],AL
28E9:7AA9 C3 RET
28E9:7AAA 50 PUSH AX
28E9:7AAB B00D MOV AL,0D
28E9:7AAD E85700 CALL 7B07
28E9:7AB0 B00A MOV AL,0A
28E9:7AB2 E85200 CALL 7B07
28E9:7AB5 58 POP AX
28E9:7AB6 C3 RET
28E9:7AB7 803EA23AFF CMP BYTE PTR [3AA2],FF
28E9:7ABC 7403 JZ 7AC1
28E9:7ABE E9A299 JMP 1463
28E9:7AC1 8BFC MOV DI,SP
28E9:7AC3 56 PUSH SI
28E9:7AC4 36 SS:
28E9:7AC5 8B35 MOV SI,[DI]
Even though there's only one byte to change, I have included the rest
in order to provide you with a unique pattern to search for when trying
to locate it.
Just change the "MOV AL,0C" to a "MOV AL,0A" and you're all set. You will
now get a linefeed instead of a formfeed between appointment days. Using
the addresses above (again, this is for my version 1.11A of the un-
protected SK.COM), CS:7A90 is the byte to be changed to a 0A.